/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package sokobantest;

import java.awt.Image;
import java.net.URL;
import javax.swing.ImageIcon;

/**
 *
 * @author bram
 */
public class Player extends GameObject{
    
    public Player(){
        URL loc = this.getClass().getResource("res/player.png");
        System.out.println(loc);
        ImageIcon iia = new ImageIcon(loc);
        Image image = iia.getImage();
        this.setImage(image);   
    }
}
